package com.coursemanage.common.model;

public class Message {

	private boolean isSucceed;
	private String msg;
    private int code;
    private Object para;
    public Object getPara() {
		return para;
	}
	public void setPara(Object para) {
		this.para = para;
	}
	public void setMsg(boolean isSucceed,int code,String msg) {
    	setSucceed(isSucceed);
    	setCode(code);
    	setMsg(msg);
	}
    public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	
	public boolean isSucceed() {
		return isSucceed;
	}

	public void setSucceed(boolean isSucceed) {
		this.isSucceed = isSucceed;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
